/*# ******************************************************************************
/*# Copyright 2017-2018 Intel Corporation
/*#
/*# Licensed under the Apache License, Version 2.0 (the "License");
/*# you may not use this file except in compliance with the License.
/*# You may obtain a copy of the License at
/*#
/*#     http://www.apache.org/licenses/LICENSE-2.0
/*#
/*# Unless required by applicable law or agreed to in writing, software
/*# distributed under the License is distributed on an "AS IS" BASIS,
/*# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/*# See the License for the specific language governing permissions and
/*# limitations under the License.
/*# ******************************************************************************

This file contains code adapted from the open sourced code:
"https://github.com/explosion/displacy-ent" & "https://github.com/explosion/displacy".
License: MIT -> https://github.com/explosion/displacy-ent/blob/master/LICENSE

/* Format all words in 12px Helvetica and grey */

.displacy-word {
    font: 20px Helvetica, Arial, sans-serif;
    color: black;
}



/* Make all pos (tags that start with "regular") green */

.displacy-tag {
    color: #00e039;;
}

/* Make all noun phrases (tags that start with "NN") orange */

.displacy-tag[data-tag^="NN"] {
    color: #ff6800;
}

/* Make all noun phrases (tags that start with "V") pink */

.displacy-tag[data-tag^="V"] {
    color: #f750cd;
}

/* Make all noun phrases (tags that start with "J") purple  */

.displacy-tag[data-tag^="J"] {
    color: #18eafd;
}



/* Make all right arrows red and hide their labels */

.displacy-arc,
.displacy-arrowhead{
    color: #bfbfbf;
}


.entities {
    line-height: 2;
}

[data-entity] {
    padding: 0.25em 0.35em;
     margin: 0px 0.25em;
     line-height: 1;
     display: inline-block;
     border-radius: 0.25em;
     border: 1px solid;
}

[data-entity]::after {
    box-sizing: border-box;
    content: attr(data-entity);
    font-size: 0.6em;
    line-height: 1;
    padding: 0.35em;
    border-radius: 0.35em;
    text-transform: uppercase;
    display: inline-block;
    vertical-align: middle;
    margin: 0px 0px 0.1rem 0.5rem;
}